package com.yanshaohui.springboot.service.impl;

import org.springframework.stereotype.Service;

import com.alibaba.dubbo.config.annotation.Reference;
import com.yanshaohui.springboot.dubbo.CompanyDubboService;
import com.yanshaohui.springboot.entity.CompanyEntity;
import com.yanshaohui.springboot.service.CompanyService;

@Service
public class CompanyServiceImpl implements CompanyService {

    @Reference(version = "1.0.0")
    private CompanyDubboService companyDubboService;
	
	public CompanyEntity findOneCompany() {
		return companyDubboService.findOneCompany();
	}

}
